<?php
//采集酒店

define('IN_ECS', true);

require('includes/init.php');


if(empty($_REQUEST['act'])){
	
	$smarty->display('get_hotel_list.dwt');
	
}elseif ($_REQUEST['act']=='do'){
	$pw="342bafa6c870e4bc961881a0e162fb53";//hong@123	
    $pw_=md5($_POST['pw']);
    $pw=$pw_;//关闭授权
	include('includes/cls_json.php');
	$json=new JSON();
	$res    = array('error' => '1', 'msg' => $pw_, 'content' =>0);
	if($pw_==$pw){

		$res    = array('error' => '', 'msg' => '', 'content' =>1);
	}
	die($json->encode($res));
}


?>